/* start header_style1 */

.header_style1 {
    padding: 3em 0em;
}


/* start h_logo */

.logo {
    float: left;
    text-align: center;
}

.logo h1 a {
    color: #fff;
    font-size: 3em;
    font-weight: 600;
}

.head image {
    height: 12px;
}


/* start h_menu */

.h_menu {
    float: right;
    margin-top: 0.6em;
}

.flexy-menu {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    float: left;
    list-style: none;
}

.flexy-menu li {
    display: inline;
    font-size: 13px;
    margin: 0;
    padding: 0;
    float: left;
    line-height: 20px;
    position: relative;
}

.flexy-menu>li>a {
    display: block;
    color: #FFF;
    padding: 12px 30px 12px 30px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -webkit-transition: background-color 0.5s ease-out;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
}

.flexy-menu>li>a:hover {
    color: #55C1E5;
}

.flexy-menu li.right {
    float: right
}

.flexy-menu ul,
.flexy-menu ul li ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    z-index: 99999;
    width: 200px;
    background: #333;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.flexy-menu ul {
    top: 60px;
    left: 0;
}

.flexy-menu ul li ul {
    top: 0;
    left: 100%;
}

.flexy-menu ul li {
    clear: both;
    width: 100%;
    border: 0;
    font-size: 13px;
}

.flexy-menu ul li a {
    text-transform: capitalize;
    font-size: 13px;
    padding: 10px 20px;
    width: 100%;
    color: #dedede;
    text-decoration: none;
    display: inline-block;
    float: left;
    clear: both;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transition: color .2s linear, background .2s linear;
    -moz-transition: color .2s linear, background .2s linear;
    -o-transition: color .2s linear, background .2s linear;
    transition: color .2s linear, background .2s linear;
}

.flexy-menu>li .arrow {
    position: absolute;
    color: #dedede;
    top: 20px;
    right: 8px;
    font-size: 17px;
}

.flexy-menu i {
    line-height: 20px!important;
    margin-right: 6px;
    font-size: 18px;
    float: left;
}

.flexy-menu>li.showhide {
    display: none;
    width: 100%;
    height: 40px;
    cursor: pointer;
    color: #dedede;
}

.flexy-menu>li.showhide span.title {
    margin: 10px 0 0 15px;
    float: left;
    font-size: 1.3em;
    color: #FFF;
}

.flexy-menu>li.showhide span.icon {
    margin: 12px 10px;
    float: right;
}

.flexy-menu>li.showhide .icon em {
    margin-bottom: 3px;
    display: block;
    width: 20px;
    height: 3px;
    background: #fff;
}

.h_menu>ul>li.showhide>span.icon>em:nth-child(4) {
    display: none;
}

@media only screen and (max-width:1024px) {
    .logo h1 a {
        font-size: 2.7em;
    }
    .flexy-menu>li>a {
        padding: 12px 20px 12px 25px;
    }
}


/***** Media Quries *****/

@media only screen and (max-width:768px) {
    .wrap {
        width: 95%;
    }
    .header_style1 {
        padding: 1.5em 0em;
    }
    .logo h1 a {
        font-size: 2.5em;
    }
    .logo {
        float: none;
        text-align: center;
    }
    .h_menu {
        float: none;
    }
    .flexy-menu {
        background: rgba(255, 255, 255, 0.4);
    }
    .flexy-menu>li>a {
        color: #ffffff;
        font-size: 12px;
    }
    .flexy-menu.vertical {
        width: 100%
    }
    .flexy-menu li {
        display: block;
        width: 100%;
    }
    .flexy-menu>li>a {
        padding: 10px 15px;
        color: #303030;
        font-size: 1.1em;
        background: #EEE;
        border-bottom: 1px solid #D8D8D8;
    }
    .flexy-menu>li>a:hover {
        color: #FFF;
        background: #55C1E5;
    }
    .flexy-menu a {
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    .flexy-menu ul,
    .flexy-menu ul li ul,
    .flexy-menu.vertical ul,
    .flexy-menu.vertical ul li ul {
        width: 100%;
        left: 0;
        border-left: 0;
        position: static;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }
    .flexy-menu ul li {
        border-left: 0;
        border-right: 0;
    }
    .flexy-menu ul li a,
    .flexy-menu.vertical ul li a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .flexy-menu ul>li>a {
        padding-left: 40px!important;
    }
    .flexy-menu>li .arrow {
        top: 15px;
        right: 25px;
        font-size: 17px;
    }
    .flexy-menu ul>li .arrow {
        display: none;
    }
}

@media only screen and (max-width: 640px) {
    .header_style1 {
        padding: 1em 0em;
    }
    .logo h1 a {
        font-size: 2.4em;
    }
}

@media only screen and (max-width: 320px) {
    .flexy-menu>li.showhide {
        height: 40px;
    }
    .flexy-menu li {
        line-height: 10px;
    }
    .flexy-menu>li.showhide span.title {
        margin: 16px 0 0 10px;
    }
    .flexy-menu>li.showhide span.icon {
        margin: 12px 10px;
    }
    .header_style1 {
        padding: 0.5em 0em;
    }
    .logo h1 a {
        font-size: 2.3em;
    }
    .flexy-menu>li.showhide {
        height: 35px;
    }
    .flexy-menu>li.showhide span.title {
        margin: 10px 0 0 10px;
    }
    .flexy-menu>li.showhide span.icon {
        margin: 9px 4px;
    }
}